package com.itheima.oopadvanced.extendsdemo;

/**
 * @author Anomaly
 * @date 2022/12/12 15:42
 */
public class Student extends People {
    private String className;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public void write() {
        System.out.println(getName() + "写下了：学习extends");
    }
}
